package com.ruoyi.message.domain;

/**
 * @projectName: intelligent-monitor
 * @package: com.ruoyi.message.domain
 * @className: MessageVo
 * @author: 寇耕耀
 */

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 消息，总数实体
 */
@Data
public class MessageVo implements Serializable {
    private static final long serialVersionUID = 1L;
    List<Message> messageList;
    Integer total;

    public MessageVo(List<Message> messageList, Integer num) {
        this.messageList = messageList;
        this.total = num;
    }
}
